<?php

error_reporting(E_ERROR);

//include 'config.php';

define("DB_HOST", "localhost");
define("DB_USER", "root");
define("DB_PASS", "");
define("DB_NAME", "db_elearning");

$connect = mysql_connect(DB_HOST, DB_USER, DB_PASS) or die ("Gagal konek ke server MySQL" .mysql_error());
$bukadb = mysql_select_db(DB_NAME) or die ("Gagal membuka database $database" .mysql_error());

?>
